#!/bin/bash
sql_file=$1
rownum=1
#记录行号
while read line
do	
	echo "$rownum" "$line"	
	let rownum++
done < $sql_file
